package com.tang;

import com.tang.trap.listener.ListenSnmp;
import com.tang.trap.receiver.TrapReceiver;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import java.io.IOException;

/**
 * SNMP测试
 * 
 * @author tangfl
 */
@SpringBootApplication
public class SnmpDemoApplication {

    public static void main(String[] args) throws IOException {
        SpringApplication.run(SnmpDemoApplication.class, args);
        new TrapReceiver(new ListenSnmp());
    }

}
